import Vue from 'vue'

// assets
import './assets/css/base.css'
import './assets/iconfont/iconfont.css'

// plugins
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';

import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';

VueMarkdownEditor.use(vuepressTheme);
Vue.use(VueMarkdownEditor);

import VMdPreview from '@kangc/v-md-editor/lib/preview';
import '@kangc/v-md-editor/lib/style/preview.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';

VMdPreview.use(githubTheme);

Vue.use(VMdPreview);


Vue.use(ViewUI);

import HttpService from "./api/HttpService";
Vue.prototype.HttpService = HttpService;
